package edu.jmu.context;

import javax.smartcardio.Card;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class Beans {
	@Bean(name="car")
	public Car buildCar(){
		Car car = new Car();
		car.setBrand("奇瑞A3");
		car.setMaxSpeed(200);
		return car;
	}
}
